#include <Catentacle.h>
#include "Catentacle/Core/EntryPoint.h"

#include "Sandbox2D.h"
#include "ExampleLayer.h"

class Sandbox : public Catentacle::Application
{
public:
	Sandbox(const Catentacle::ApplicationSpecification& spec)
		: Catentacle::Application(spec)
	{
		// PushLayer(new ExampleLayer());
		PushLayer(new Sandbox2D());
	}

	~Sandbox()
	{
	}
};

Catentacle::Application* Catentacle::CreateApplication(Catentacle::ApplicationCommandLineArgs args)
{
	ApplicationSpecification spec;
	spec.Name = "Sandbox";
	spec.WorkingDirectory = "../Catentacle-Editor";
	spec.CommandLineArgs = args;

	return new Sandbox(spec);
}